/* 仓库根文件 */

//解构出  createStore：创建仓库方法   applyMiddleware:引用中间件函数
import { createStore, applyMiddleware } from 'redux'
//引入thunk：形实转换程序
import thunk from 'redux-thunk'

//引入根管理员
import reducer from './reducer'

export default createStore(reducer, applyMiddleware(thunk))

